package com.ztesoft.web.filecommon.db.po;

import java.math.*;
import java.util.*;
import org.apache.commons.lang.StringUtils;
import com.ztesoft.framework.dto.AbstractDto;

public class FileScanRuleTplPO extends AbstractDto{
	private Integer  ruleTemplateId;
	private String  templateName;
	private Integer  scanRange;
	private String  fileType;
	private String  filenameScanXpath;
	private String  scanTimeType;
	private String  scanTimeSection;
	private Integer  scanTimeShift;
	private Integer  filesizeMin;
	private Integer  filesizeMax;
	private Integer  targetFileZipSwitch;
	private Integer  sourceFileZipSwitch;
	private String  ruleDesc;
	private Date  createDate;
	private String  state;
	private Date  stateDate;
    public Integer getRuleTemplateId() {
        return ruleTemplateId;
    }
    public void setRuleTemplateId(Integer ruleTemplateId) {
        this.ruleTemplateId = ruleTemplateId;
    }

    
    public String getTemplateName() {
        return StringUtils.isBlank(templateName) ? templateName : templateName.trim();
    }
    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }
    
    
    public Integer getScanRange() {
        return scanRange;
    }
    public void setScanRange(Integer scanRange) {
        this.scanRange = scanRange;
    }

    
    public String getFileType() {
        return StringUtils.isBlank(fileType) ? fileType : fileType.trim();
    }
    public void setFileType(String fileType) {
        this.fileType = fileType;
    }
    
    
    public String getFilenameScanXpath() {
        return StringUtils.isBlank(filenameScanXpath) ? filenameScanXpath : filenameScanXpath.trim();
    }
    public void setFilenameScanXpath(String filenameScanXpath) {
        this.filenameScanXpath = filenameScanXpath;
    }
    
    
    public String getScanTimeType() {
        return StringUtils.isBlank(scanTimeType) ? scanTimeType : scanTimeType.trim();
    }
    public void setScanTimeType(String scanTimeType) {
        this.scanTimeType = scanTimeType;
    }
    
    
    public String getScanTimeSection() {
        return StringUtils.isBlank(scanTimeSection) ? scanTimeSection : scanTimeSection.trim();
    }
    public void setScanTimeSection(String scanTimeSection) {
        this.scanTimeSection = scanTimeSection;
    }
    
    
    public Integer getScanTimeShift() {
        return scanTimeShift;
    }
    public void setScanTimeShift(Integer scanTimeShift) {
        this.scanTimeShift = scanTimeShift;
    }

    
    public Integer getFilesizeMin() {
        return filesizeMin;
    }
    public void setFilesizeMin(Integer filesizeMin) {
        this.filesizeMin = filesizeMin;
    }

    
    public Integer getFilesizeMax() {
        return filesizeMax;
    }
    public void setFilesizeMax(Integer filesizeMax) {
        this.filesizeMax = filesizeMax;
    }

    
    public Integer getTargetFileZipSwitch() {
        return targetFileZipSwitch;
    }
    public void setTargetFileZipSwitch(Integer targetFileZipSwitch) {
        this.targetFileZipSwitch = targetFileZipSwitch;
    }

    
    public Integer getSourceFileZipSwitch() {
        return sourceFileZipSwitch;
    }
    public void setSourceFileZipSwitch(Integer sourceFileZipSwitch) {
        this.sourceFileZipSwitch = sourceFileZipSwitch;
    }

    
    public String getRuleDesc() {
        return StringUtils.isBlank(ruleDesc) ? ruleDesc : ruleDesc.trim();
    }
    public void setRuleDesc(String ruleDesc) {
        this.ruleDesc = ruleDesc;
    }
    
    
    
    
    public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getStateDate() {
		return stateDate;
	}
	public void setStateDate(Date stateDate) {
		this.stateDate = stateDate;
	}
	public String getState() {
        return StringUtils.isBlank(state) ? state : state.trim();
    }
    public void setState(String state) {
        this.state = state;
    }
    
    
    
}